var express = require('express');
var router = express.Router();

const RemarkController = require('../controller/remark');
const Remark = require('../model/remark');


//创建评论
router.post('/create',RemarkController.createRemark)
//创建评论下的评论
router.post('/createRemarks',RemarkController.createRemarks)
//获取动态评论
router.get('/getShareRemark',RemarkController.getShareRemark)
//获取评论下的评论
router.get('/getRemarks',RemarkController.getRemarks)

module.exports = router;
